package com.quanyan.place.entity;

import com.quanyan.common.Plugin.Page;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbBizPlaceExtractRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbBizPlaceExtractRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andExtractNoIsNull() {
            addCriterion("extract_no is null");
            return (Criteria) this;
        }

        public Criteria andExtractNoIsNotNull() {
            addCriterion("extract_no is not null");
            return (Criteria) this;
        }

        public Criteria andExtractNoEqualTo(String value) {
            addCriterion("extract_no =", value, "extractNo");
            return (Criteria) this;
        }

        public Criteria andExtractNoNotEqualTo(String value) {
            addCriterion("extract_no <>", value, "extractNo");
            return (Criteria) this;
        }

        public Criteria andExtractNoGreaterThan(String value) {
            addCriterion("extract_no >", value, "extractNo");
            return (Criteria) this;
        }

        public Criteria andExtractNoGreaterThanOrEqualTo(String value) {
            addCriterion("extract_no >=", value, "extractNo");
            return (Criteria) this;
        }

        public Criteria andExtractNoLessThan(String value) {
            addCriterion("extract_no <", value, "extractNo");
            return (Criteria) this;
        }

        public Criteria andExtractNoLessThanOrEqualTo(String value) {
            addCriterion("extract_no <=", value, "extractNo");
            return (Criteria) this;
        }

        public Criteria andExtractNoLike(String value) {
            addCriterion("extract_no like", value, "extractNo");
            return (Criteria) this;
        }

        public Criteria andExtractNoNotLike(String value) {
            addCriterion("extract_no not like", value, "extractNo");
            return (Criteria) this;
        }

        public Criteria andExtractNoIn(List<String> values) {
            addCriterion("extract_no in", values, "extractNo");
            return (Criteria) this;
        }

        public Criteria andExtractNoNotIn(List<String> values) {
            addCriterion("extract_no not in", values, "extractNo");
            return (Criteria) this;
        }

        public Criteria andExtractNoBetween(String value1, String value2) {
            addCriterion("extract_no between", value1, value2, "extractNo");
            return (Criteria) this;
        }

        public Criteria andExtractNoNotBetween(String value1, String value2) {
            addCriterion("extract_no not between", value1, value2, "extractNo");
            return (Criteria) this;
        }

        public Criteria andSupplierIdIsNull() {
            addCriterion("supplier_id is null");
            return (Criteria) this;
        }

        public Criteria andSupplierIdIsNotNull() {
            addCriterion("supplier_id is not null");
            return (Criteria) this;
        }

        public Criteria andSupplierIdEqualTo(Integer value) {
            addCriterion("supplier_id =", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdNotEqualTo(Integer value) {
            addCriterion("supplier_id <>", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdGreaterThan(Integer value) {
            addCriterion("supplier_id >", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("supplier_id >=", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdLessThan(Integer value) {
            addCriterion("supplier_id <", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdLessThanOrEqualTo(Integer value) {
            addCriterion("supplier_id <=", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdIn(List<Integer> values) {
            addCriterion("supplier_id in", values, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdNotIn(List<Integer> values) {
            addCriterion("supplier_id not in", values, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdBetween(Integer value1, Integer value2) {
            addCriterion("supplier_id between", value1, value2, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdNotBetween(Integer value1, Integer value2) {
            addCriterion("supplier_id not between", value1, value2, "supplierId");
            return (Criteria) this;
        }

        public Criteria andBcnameIsNull() {
            addCriterion("bcName is null");
            return (Criteria) this;
        }

        public Criteria andBcnameIsNotNull() {
            addCriterion("bcName is not null");
            return (Criteria) this;
        }

        public Criteria andBcnameEqualTo(String value) {
            addCriterion("bcName =", value, "bcname");
            return (Criteria) this;
        }

        public Criteria andBcnameNotEqualTo(String value) {
            addCriterion("bcName <>", value, "bcname");
            return (Criteria) this;
        }

        public Criteria andBcnameGreaterThan(String value) {
            addCriterion("bcName >", value, "bcname");
            return (Criteria) this;
        }

        public Criteria andBcnameGreaterThanOrEqualTo(String value) {
            addCriterion("bcName >=", value, "bcname");
            return (Criteria) this;
        }

        public Criteria andBcnameLessThan(String value) {
            addCriterion("bcName <", value, "bcname");
            return (Criteria) this;
        }

        public Criteria andBcnameLessThanOrEqualTo(String value) {
            addCriterion("bcName <=", value, "bcname");
            return (Criteria) this;
        }

        public Criteria andBcnameLike(String value) {
            addCriterion("bcName like", value, "bcname");
            return (Criteria) this;
        }

        public Criteria andBcnameNotLike(String value) {
            addCriterion("bcName not like", value, "bcname");
            return (Criteria) this;
        }

        public Criteria andBcnameIn(List<String> values) {
            addCriterion("bcName in", values, "bcname");
            return (Criteria) this;
        }

        public Criteria andBcnameNotIn(List<String> values) {
            addCriterion("bcName not in", values, "bcname");
            return (Criteria) this;
        }

        public Criteria andBcnameBetween(String value1, String value2) {
            addCriterion("bcName between", value1, value2, "bcname");
            return (Criteria) this;
        }

        public Criteria andBcnameNotBetween(String value1, String value2) {
            addCriterion("bcName not between", value1, value2, "bcname");
            return (Criteria) this;
        }

        public Criteria andBcbankIsNull() {
            addCriterion("bcBank is null");
            return (Criteria) this;
        }

        public Criteria andBcbankIsNotNull() {
            addCriterion("bcBank is not null");
            return (Criteria) this;
        }

        public Criteria andBcbankEqualTo(String value) {
            addCriterion("bcBank =", value, "bcbank");
            return (Criteria) this;
        }

        public Criteria andBcbankNotEqualTo(String value) {
            addCriterion("bcBank <>", value, "bcbank");
            return (Criteria) this;
        }

        public Criteria andBcbankGreaterThan(String value) {
            addCriterion("bcBank >", value, "bcbank");
            return (Criteria) this;
        }

        public Criteria andBcbankGreaterThanOrEqualTo(String value) {
            addCriterion("bcBank >=", value, "bcbank");
            return (Criteria) this;
        }

        public Criteria andBcbankLessThan(String value) {
            addCriterion("bcBank <", value, "bcbank");
            return (Criteria) this;
        }

        public Criteria andBcbankLessThanOrEqualTo(String value) {
            addCriterion("bcBank <=", value, "bcbank");
            return (Criteria) this;
        }

        public Criteria andBcbankLike(String value) {
            addCriterion("bcBank like", value, "bcbank");
            return (Criteria) this;
        }

        public Criteria andBcbankNotLike(String value) {
            addCriterion("bcBank not like", value, "bcbank");
            return (Criteria) this;
        }

        public Criteria andBcbankIn(List<String> values) {
            addCriterion("bcBank in", values, "bcbank");
            return (Criteria) this;
        }

        public Criteria andBcbankNotIn(List<String> values) {
            addCriterion("bcBank not in", values, "bcbank");
            return (Criteria) this;
        }

        public Criteria andBcbankBetween(String value1, String value2) {
            addCriterion("bcBank between", value1, value2, "bcbank");
            return (Criteria) this;
        }

        public Criteria andBcbankNotBetween(String value1, String value2) {
            addCriterion("bcBank not between", value1, value2, "bcbank");
            return (Criteria) this;
        }

        public Criteria andBccardnoIsNull() {
            addCriterion("bcCardno is null");
            return (Criteria) this;
        }

        public Criteria andBccardnoIsNotNull() {
            addCriterion("bcCardno is not null");
            return (Criteria) this;
        }

        public Criteria andBccardnoEqualTo(String value) {
            addCriterion("bcCardno =", value, "bccardno");
            return (Criteria) this;
        }

        public Criteria andBccardnoNotEqualTo(String value) {
            addCriterion("bcCardno <>", value, "bccardno");
            return (Criteria) this;
        }

        public Criteria andBccardnoGreaterThan(String value) {
            addCriterion("bcCardno >", value, "bccardno");
            return (Criteria) this;
        }

        public Criteria andBccardnoGreaterThanOrEqualTo(String value) {
            addCriterion("bcCardno >=", value, "bccardno");
            return (Criteria) this;
        }

        public Criteria andBccardnoLessThan(String value) {
            addCriterion("bcCardno <", value, "bccardno");
            return (Criteria) this;
        }

        public Criteria andBccardnoLessThanOrEqualTo(String value) {
            addCriterion("bcCardno <=", value, "bccardno");
            return (Criteria) this;
        }

        public Criteria andBccardnoLike(String value) {
            addCriterion("bcCardno like", value, "bccardno");
            return (Criteria) this;
        }

        public Criteria andBccardnoNotLike(String value) {
            addCriterion("bcCardno not like", value, "bccardno");
            return (Criteria) this;
        }

        public Criteria andBccardnoIn(List<String> values) {
            addCriterion("bcCardno in", values, "bccardno");
            return (Criteria) this;
        }

        public Criteria andBccardnoNotIn(List<String> values) {
            addCriterion("bcCardno not in", values, "bccardno");
            return (Criteria) this;
        }

        public Criteria andBccardnoBetween(String value1, String value2) {
            addCriterion("bcCardno between", value1, value2, "bccardno");
            return (Criteria) this;
        }

        public Criteria andBccardnoNotBetween(String value1, String value2) {
            addCriterion("bcCardno not between", value1, value2, "bccardno");
            return (Criteria) this;
        }

        public Criteria andExtractTimeIsNull() {
            addCriterion("extract_time is null");
            return (Criteria) this;
        }

        public Criteria andExtractTimeIsNotNull() {
            addCriterion("extract_time is not null");
            return (Criteria) this;
        }

        public Criteria andExtractTimeEqualTo(Date value) {
            addCriterion("extract_time =", value, "extractTime");
            return (Criteria) this;
        }

        public Criteria andExtractTimeNotEqualTo(Date value) {
            addCriterion("extract_time <>", value, "extractTime");
            return (Criteria) this;
        }

        public Criteria andExtractTimeGreaterThan(Date value) {
            addCriterion("extract_time >", value, "extractTime");
            return (Criteria) this;
        }

        public Criteria andExtractTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("extract_time >=", value, "extractTime");
            return (Criteria) this;
        }

        public Criteria andExtractTimeLessThan(Date value) {
            addCriterion("extract_time <", value, "extractTime");
            return (Criteria) this;
        }

        public Criteria andExtractTimeLessThanOrEqualTo(Date value) {
            addCriterion("extract_time <=", value, "extractTime");
            return (Criteria) this;
        }

        public Criteria andExtractTimeIn(List<Date> values) {
            addCriterion("extract_time in", values, "extractTime");
            return (Criteria) this;
        }

        public Criteria andExtractTimeNotIn(List<Date> values) {
            addCriterion("extract_time not in", values, "extractTime");
            return (Criteria) this;
        }

        public Criteria andExtractTimeBetween(Date value1, Date value2) {
            addCriterion("extract_time between", value1, value2, "extractTime");
            return (Criteria) this;
        }

        public Criteria andExtractTimeNotBetween(Date value1, Date value2) {
            addCriterion("extract_time not between", value1, value2, "extractTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNull() {
            addCriterion("pay_time is null");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNotNull() {
            addCriterion("pay_time is not null");
            return (Criteria) this;
        }

        public Criteria andPayTimeEqualTo(Date value) {
            addCriterion("pay_time =", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotEqualTo(Date value) {
            addCriterion("pay_time <>", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThan(Date value) {
            addCriterion("pay_time >", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("pay_time >=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThan(Date value) {
            addCriterion("pay_time <", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThanOrEqualTo(Date value) {
            addCriterion("pay_time <=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeIn(List<Date> values) {
            addCriterion("pay_time in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotIn(List<Date> values) {
            addCriterion("pay_time not in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeBetween(Date value1, Date value2) {
            addCriterion("pay_time between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotBetween(Date value1, Date value2) {
            addCriterion("pay_time not between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andExtractAmountIsNull() {
            addCriterion("extract_amount is null");
            return (Criteria) this;
        }

        public Criteria andExtractAmountIsNotNull() {
            addCriterion("extract_amount is not null");
            return (Criteria) this;
        }

        public Criteria andExtractAmountEqualTo(BigDecimal value) {
            addCriterion("extract_amount =", value, "extractAmount");
            return (Criteria) this;
        }

        public Criteria andExtractAmountNotEqualTo(BigDecimal value) {
            addCriterion("extract_amount <>", value, "extractAmount");
            return (Criteria) this;
        }

        public Criteria andExtractAmountGreaterThan(BigDecimal value) {
            addCriterion("extract_amount >", value, "extractAmount");
            return (Criteria) this;
        }

        public Criteria andExtractAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("extract_amount >=", value, "extractAmount");
            return (Criteria) this;
        }

        public Criteria andExtractAmountLessThan(BigDecimal value) {
            addCriterion("extract_amount <", value, "extractAmount");
            return (Criteria) this;
        }

        public Criteria andExtractAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("extract_amount <=", value, "extractAmount");
            return (Criteria) this;
        }

        public Criteria andExtractAmountIn(List<BigDecimal> values) {
            addCriterion("extract_amount in", values, "extractAmount");
            return (Criteria) this;
        }

        public Criteria andExtractAmountNotIn(List<BigDecimal> values) {
            addCriterion("extract_amount not in", values, "extractAmount");
            return (Criteria) this;
        }

        public Criteria andExtractAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("extract_amount between", value1, value2, "extractAmount");
            return (Criteria) this;
        }

        public Criteria andExtractAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("extract_amount not between", value1, value2, "extractAmount");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}